<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.14"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>libslic3r: Slic3r::Geometry Namespace Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="Slic3r_192px_transparent.png"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">libslic3r
   </div>
   <div id="projectbrief">Library for generating gcode from 3d models</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.14 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="namespace_slic3r.html">Slic3r</a></li><li class="navelem"><a class="el" href="namespace_slic3r_1_1_geometry.html">Geometry</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#nested-classes">Classes</a> &#124;
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle">
<div class="title">Slic3r::Geometry Namespace Reference</div>  </div>
</div><!--header-->
<div class="contents">
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
Classes</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_slic3r_1_1_geometry_1_1_arrange_item.html">ArrangeItem</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_slic3r_1_1_geometry_1_1_arrange_item_index.html">ArrangeItemIndex</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_slic3r_1_1_geometry_1_1_medial_axis.html">MedialAxis</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:a98fa177754782d41f19cbafc196591fd"><td class="memItemLeft" align="right" valign="top">static bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespace_slic3r_1_1_geometry.html#a98fa177754782d41f19cbafc196591fd">sort_points</a> (<a class="el" href="class_slic3r_1_1_point.html">Point</a> a, <a class="el" href="class_slic3r_1_1_point.html">Point</a> b)</td></tr>
<tr class="separator:a98fa177754782d41f19cbafc196591fd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a037ef9491ae6b568cc21bb267e86c771"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_slic3r_1_1_polygon.html">Polygon</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespace_slic3r_1_1_geometry.html#a037ef9491ae6b568cc21bb267e86c771">convex_hull</a> (<a class="el" href="namespace_slic3r.html#a47d04f71423ecef9ad36e18046f11c3c">Points</a> points)</td></tr>
<tr class="separator:a037ef9491ae6b568cc21bb267e86c771"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae2ffa584b0adcf1b4c436f8d86f01cb2"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_slic3r_1_1_polygon.html">Polygon</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespace_slic3r_1_1_geometry.html#ae2ffa584b0adcf1b4c436f8d86f01cb2">convex_hull</a> (const <a class="el" href="namespace_slic3r.html#ac070ff2d90c6488a48adf1814cdae06c">Polygons</a> &amp;polygons)</td></tr>
<tr class="separator:ae2ffa584b0adcf1b4c436f8d86f01cb2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abaacc3c125df7471cc2a6b110ca76cfd"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespace_slic3r_1_1_geometry.html#abaacc3c125df7471cc2a6b110ca76cfd">chained_path</a> (const <a class="el" href="namespace_slic3r.html#a47d04f71423ecef9ad36e18046f11c3c">Points</a> &amp;points, std::vector&lt; Points::size_type &gt; &amp;retval, <a class="el" href="class_slic3r_1_1_point.html">Point</a> start_near)</td></tr>
<tr class="separator:abaacc3c125df7471cc2a6b110ca76cfd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0c0fb026130b21e798c721256cdd0ed1"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespace_slic3r_1_1_geometry.html#a0c0fb026130b21e798c721256cdd0ed1">chained_path</a> (const <a class="el" href="namespace_slic3r.html#a47d04f71423ecef9ad36e18046f11c3c">Points</a> &amp;points, std::vector&lt; Points::size_type &gt; &amp;retval)</td></tr>
<tr class="separator:a0c0fb026130b21e798c721256cdd0ed1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6850761bf29304ed29e0b06be9dcbac2"><td class="memTemplParams" colspan="2">template&lt;class T &gt; </td></tr>
<tr class="memitem:a6850761bf29304ed29e0b06be9dcbac2"><td class="memTemplItemLeft" align="right" valign="top">void&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespace_slic3r_1_1_geometry.html#a6850761bf29304ed29e0b06be9dcbac2">chained_path_items</a> (<a class="el" href="namespace_slic3r.html#a47d04f71423ecef9ad36e18046f11c3c">Points</a> &amp;points, T &amp;items, T &amp;retval)</td></tr>
<tr class="separator:a6850761bf29304ed29e0b06be9dcbac2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:accaa73f8e1e4481a75c48b79e03877c3"><td class="memItemLeft" align="right" valign="top">template void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespace_slic3r_1_1_geometry.html#accaa73f8e1e4481a75c48b79e03877c3">chained_path_items</a> (<a class="el" href="namespace_slic3r.html#a47d04f71423ecef9ad36e18046f11c3c">Points</a> &amp;points, ClipperLib::PolyNodes &amp;items, ClipperLib::PolyNodes &amp;retval)</td></tr>
<tr class="separator:accaa73f8e1e4481a75c48b79e03877c3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0f18e233c41ce44d3a197c3e4947ed95"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespace_slic3r_1_1_geometry.html#a0f18e233c41ce44d3a197c3e4947ed95">directions_parallel</a> (double angle1, double angle2, double max_diff)</td></tr>
<tr class="separator:a0f18e233c41ce44d3a197c3e4947ed95"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a76f16102117bed6ec747534bc0399c43"><td class="memTemplParams" colspan="2">template&lt;class T &gt; </td></tr>
<tr class="memitem:a76f16102117bed6ec747534bc0399c43"><td class="memTemplItemLeft" align="right" valign="top">bool&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespace_slic3r_1_1_geometry.html#a76f16102117bed6ec747534bc0399c43">contains</a> (const std::vector&lt; T &gt; &amp;vector, const <a class="el" href="class_slic3r_1_1_point.html">Point</a> &amp;point)</td></tr>
<tr class="separator:a76f16102117bed6ec747534bc0399c43"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9c209fac368ee019b966f6cfecd36c73"><td class="memItemLeft" align="right" valign="top">template bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespace_slic3r_1_1_geometry.html#a9c209fac368ee019b966f6cfecd36c73">contains</a> (const <a class="el" href="namespace_slic3r.html#ac070ff2d90c6488a48adf1814cdae06c">Polygons</a> &amp;vector, const <a class="el" href="class_slic3r_1_1_point.html">Point</a> &amp;point)</td></tr>
<tr class="separator:a9c209fac368ee019b966f6cfecd36c73"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0087db456d74a40faaa165aba75f3d22"><td class="memItemLeft" align="right" valign="top">template bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespace_slic3r_1_1_geometry.html#a0087db456d74a40faaa165aba75f3d22">contains</a> (const <a class="el" href="namespace_slic3r.html#a9306b728b4672f5e56abe05ba7437fe1">ExPolygons</a> &amp;vector, const <a class="el" href="class_slic3r_1_1_point.html">Point</a> &amp;point)</td></tr>
<tr class="separator:a0087db456d74a40faaa165aba75f3d22"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adedb00142ab5f82a0e5bc781c4125501"><td class="memTemplParams" colspan="2">template&lt;class T &gt; </td></tr>
<tr class="memitem:adedb00142ab5f82a0e5bc781c4125501"><td class="memTemplItemLeft" align="right" valign="top">double&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespace_slic3r_1_1_geometry.html#adedb00142ab5f82a0e5bc781c4125501">area</a> (const std::vector&lt; T &gt; &amp;vector)</td></tr>
<tr class="separator:adedb00142ab5f82a0e5bc781c4125501"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a47116edb41373d357e9844f9d2743e5c"><td class="memItemLeft" align="right" valign="top">template double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespace_slic3r_1_1_geometry.html#a47116edb41373d357e9844f9d2743e5c">area</a> (const <a class="el" href="namespace_slic3r.html#ac070ff2d90c6488a48adf1814cdae06c">Polygons</a> &amp;vector)</td></tr>
<tr class="separator:a47116edb41373d357e9844f9d2743e5c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acb300f778c7b8881f678cb52f58552f5"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespace_slic3r_1_1_geometry.html#acb300f778c7b8881f678cb52f58552f5">rad2deg</a> (double angle)</td></tr>
<tr class="separator:acb300f778c7b8881f678cb52f58552f5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9b919e3c511027110db4303b961293f1"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespace_slic3r_1_1_geometry.html#a9b919e3c511027110db4303b961293f1">rad2deg_dir</a> (double angle)</td></tr>
<tr class="separator:a9b919e3c511027110db4303b961293f1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aec2a8e145511303449b633bb390a3cf9"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespace_slic3r_1_1_geometry.html#aec2a8e145511303449b633bb390a3cf9">deg2rad</a> (double angle)</td></tr>
<tr class="separator:aec2a8e145511303449b633bb390a3cf9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a35a172d6d50d7fb4328abeca34388c3b"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespace_slic3r_1_1_geometry.html#a35a172d6d50d7fb4328abeca34388c3b">linint</a> (double value, double oldmin, double oldmax, double newmin, double newmax)</td></tr>
<tr class="separator:a35a172d6d50d7fb4328abeca34388c3b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af085246e501fa3d36f6d84a167bdee52"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespace_slic3r_1_1_geometry.html#af085246e501fa3d36f6d84a167bdee52">arrange</a> (size_t total_parts, const <a class="el" href="class_slic3r_1_1_pointf.html">Pointf</a> &amp;part_size, <a class="el" href="namespace_slic3r.html#a2ac5c755948c74f5f5f975acd5057fe9">coordf_t</a> dist, const <a class="el" href="class_slic3r_1_1_bounding_boxf.html">BoundingBoxf</a> *bb, <a class="el" href="namespace_slic3r.html#af371c2c21f879fac0a0c172a992df9a5">Pointfs</a> &amp;positions)</td></tr>
<tr class="separator:af085246e501fa3d36f6d84a167bdee52"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Function Documentation</h2>
<a id="adedb00142ab5f82a0e5bc781c4125501"></a>
<h2 class="memtitle"><span class="permalink"><a href="#adedb00142ab5f82a0e5bc781c4125501">&#9670;&nbsp;</a></span>area() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">double Slic3r::Geometry::area </td>
          <td>(</td>
          <td class="paramtype">const std::vector&lt; T &gt; &amp;&#160;</td>
          <td class="paramname"><em>vector</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a47116edb41373d357e9844f9d2743e5c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a47116edb41373d357e9844f9d2743e5c">&#9670;&nbsp;</a></span>area() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">template double Slic3r::Geometry::area </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="namespace_slic3r.html#ac070ff2d90c6488a48adf1814cdae06c">Polygons</a> &amp;&#160;</td>
          <td class="paramname"><em>vector</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="af085246e501fa3d36f6d84a167bdee52"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af085246e501fa3d36f6d84a167bdee52">&#9670;&nbsp;</a></span>arrange()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Slic3r::Geometry::arrange </td>
          <td>(</td>
          <td class="paramtype">size_t&#160;</td>
          <td class="paramname"><em>total_parts</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="class_slic3r_1_1_pointf.html">Pointf</a> &amp;&#160;</td>
          <td class="paramname"><em>part_size</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="namespace_slic3r.html#a2ac5c755948c74f5f5f975acd5057fe9">coordf_t</a>&#160;</td>
          <td class="paramname"><em>dist</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="class_slic3r_1_1_bounding_boxf.html">BoundingBoxf</a> *&#160;</td>
          <td class="paramname"><em>bb</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="namespace_slic3r.html#af371c2c21f879fac0a0c172a992df9a5">Pointfs</a> &amp;&#160;</td>
          <td class="paramname"><em>positions</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="abaacc3c125df7471cc2a6b110ca76cfd"></a>
<h2 class="memtitle"><span class="permalink"><a href="#abaacc3c125df7471cc2a6b110ca76cfd">&#9670;&nbsp;</a></span>chained_path() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Slic3r::Geometry::chained_path </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="namespace_slic3r.html#a47d04f71423ecef9ad36e18046f11c3c">Points</a> &amp;&#160;</td>
          <td class="paramname"><em>points</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">std::vector&lt; Points::size_type &gt; &amp;&#160;</td>
          <td class="paramname"><em>retval</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="class_slic3r_1_1_point.html">Point</a>&#160;</td>
          <td class="paramname"><em>start_near</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a0c0fb026130b21e798c721256cdd0ed1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0c0fb026130b21e798c721256cdd0ed1">&#9670;&nbsp;</a></span>chained_path() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Slic3r::Geometry::chained_path </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="namespace_slic3r.html#a47d04f71423ecef9ad36e18046f11c3c">Points</a> &amp;&#160;</td>
          <td class="paramname"><em>points</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">std::vector&lt; Points::size_type &gt; &amp;&#160;</td>
          <td class="paramname"><em>retval</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a6850761bf29304ed29e0b06be9dcbac2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6850761bf29304ed29e0b06be9dcbac2">&#9670;&nbsp;</a></span>chained_path_items() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">void Slic3r::Geometry::chained_path_items </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="namespace_slic3r.html#a47d04f71423ecef9ad36e18046f11c3c">Points</a> &amp;&#160;</td>
          <td class="paramname"><em>points</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">T &amp;&#160;</td>
          <td class="paramname"><em>items</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">T &amp;&#160;</td>
          <td class="paramname"><em>retval</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="accaa73f8e1e4481a75c48b79e03877c3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#accaa73f8e1e4481a75c48b79e03877c3">&#9670;&nbsp;</a></span>chained_path_items() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">template void Slic3r::Geometry::chained_path_items </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="namespace_slic3r.html#a47d04f71423ecef9ad36e18046f11c3c">Points</a> &amp;&#160;</td>
          <td class="paramname"><em>points</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">ClipperLib::PolyNodes &amp;&#160;</td>
          <td class="paramname"><em>items</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">ClipperLib::PolyNodes &amp;&#160;</td>
          <td class="paramname"><em>retval</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a76f16102117bed6ec747534bc0399c43"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a76f16102117bed6ec747534bc0399c43">&#9670;&nbsp;</a></span>contains() <span class="overload">[1/3]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">bool Slic3r::Geometry::contains </td>
          <td>(</td>
          <td class="paramtype">const std::vector&lt; T &gt; &amp;&#160;</td>
          <td class="paramname"><em>vector</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="class_slic3r_1_1_point.html">Point</a> &amp;&#160;</td>
          <td class="paramname"><em>point</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a9c209fac368ee019b966f6cfecd36c73"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9c209fac368ee019b966f6cfecd36c73">&#9670;&nbsp;</a></span>contains() <span class="overload">[2/3]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">template bool Slic3r::Geometry::contains </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="namespace_slic3r.html#ac070ff2d90c6488a48adf1814cdae06c">Polygons</a> &amp;&#160;</td>
          <td class="paramname"><em>vector</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="class_slic3r_1_1_point.html">Point</a> &amp;&#160;</td>
          <td class="paramname"><em>point</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a0087db456d74a40faaa165aba75f3d22"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0087db456d74a40faaa165aba75f3d22">&#9670;&nbsp;</a></span>contains() <span class="overload">[3/3]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">template bool Slic3r::Geometry::contains </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="namespace_slic3r.html#a9306b728b4672f5e56abe05ba7437fe1">ExPolygons</a> &amp;&#160;</td>
          <td class="paramname"><em>vector</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="class_slic3r_1_1_point.html">Point</a> &amp;&#160;</td>
          <td class="paramname"><em>point</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a037ef9491ae6b568cc21bb267e86c771"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a037ef9491ae6b568cc21bb267e86c771">&#9670;&nbsp;</a></span>convex_hull() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_slic3r_1_1_polygon.html">Polygon</a> Slic3r::Geometry::convex_hull </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="namespace_slic3r.html#a47d04f71423ecef9ad36e18046f11c3c">Points</a>&#160;</td>
          <td class="paramname"><em>points</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="ae2ffa584b0adcf1b4c436f8d86f01cb2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae2ffa584b0adcf1b4c436f8d86f01cb2">&#9670;&nbsp;</a></span>convex_hull() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_slic3r_1_1_polygon.html">Polygon</a> Slic3r::Geometry::convex_hull </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="namespace_slic3r.html#ac070ff2d90c6488a48adf1814cdae06c">Polygons</a> &amp;&#160;</td>
          <td class="paramname"><em>polygons</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="aec2a8e145511303449b633bb390a3cf9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aec2a8e145511303449b633bb390a3cf9">&#9670;&nbsp;</a></span>deg2rad()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">double Slic3r::Geometry::deg2rad </td>
          <td>(</td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>angle</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a0f18e233c41ce44d3a197c3e4947ed95"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0f18e233c41ce44d3a197c3e4947ed95">&#9670;&nbsp;</a></span>directions_parallel()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Slic3r::Geometry::directions_parallel </td>
          <td>(</td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>angle1</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>angle2</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>max_diff</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a35a172d6d50d7fb4328abeca34388c3b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a35a172d6d50d7fb4328abeca34388c3b">&#9670;&nbsp;</a></span>linint()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">double Slic3r::Geometry::linint </td>
          <td>(</td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>value</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>oldmin</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>oldmax</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>newmin</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>newmax</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="acb300f778c7b8881f678cb52f58552f5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#acb300f778c7b8881f678cb52f58552f5">&#9670;&nbsp;</a></span>rad2deg()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">double Slic3r::Geometry::rad2deg </td>
          <td>(</td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>angle</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a9b919e3c511027110db4303b961293f1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9b919e3c511027110db4303b961293f1">&#9670;&nbsp;</a></span>rad2deg_dir()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">double Slic3r::Geometry::rad2deg_dir </td>
          <td>(</td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>angle</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a98fa177754782d41f19cbafc196591fd"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a98fa177754782d41f19cbafc196591fd">&#9670;&nbsp;</a></span>sort_points()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static bool Slic3r::Geometry::sort_points </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_slic3r_1_1_point.html">Point</a>&#160;</td>
          <td class="paramname"><em>a</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="class_slic3r_1_1_point.html">Point</a>&#160;</td>
          <td class="paramname"><em>b</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.14
</small></address>
</body>
</html>
